package com.bingxue.edu.management.education.model.resp;

import com.bingxue.edu.common.enums.GenderEnum;
import com.bingxue.edu.management.education.model.entity.ClassStudent;
import com.bingxue.edu.management.education.model.entity.Enrollment;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "班级信息")
@TableRef(ClassStudent.class)
public class ClassStudentResp extends ClassStudent {

    @Schema(description = "报名信息")
    private Enrollment enrollment;

    @Schema(description = "学生名称")
    private String name;

    @Schema(description = "学生性别")
    private GenderEnum gender;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "联系电话")
    private String parentPhone;
}
